package com.ssy.lingxi.order.model.vo.basic.request;

import com.ssy.lingxi.common.model.vo.PageVO;

import javax.validation.constraints.NotNull;
import java.time.LocalDateTime;

/**
 * 业务员业绩统计-业绩订单明细搜索条件VO
 * @author 郑小翠
 * @version 2.02.18
 * @date 2022-03-17
 */
public class MemberSalesCountOrderDetailsVO extends PageVO {
    private static final long serialVersionUID = 3383076328198948440L;

    /**
     * 业务员Id
     */
    private Long userId;

    /**
     * 下级会员Id --从会员详情进入的必传
     */
    private Long subMemberId;

    /**
     * 下级会员角色Id --从会员详情进入必传
     */
    private Long subMemberRoleId;

    /**
     * 统计月份
     */
    @NotNull(message = "统计月份不能为空")
    private String countTime;

    /**
     * 商品SkuId --从商品详情进入必传
     */
    private Long skuId;

    /**
     * 下级会员名称
     */
    private String subMemberName;

    /**
     * 商品名称
     */
    private String commodityName;

    /**
     * 品类名称
     */
    private String category;

    public static long getSerialVersionUID() {
        return serialVersionUID;
    }

    public Long getUserId() {
        return userId;
    }

    public void setUserId(Long userId) {
        this.userId = userId;
    }

    public Long getSubMemberId() {
        return subMemberId;
    }

    public void setSubMemberId(Long subMemberId) {
        this.subMemberId = subMemberId;
    }

    public Long getSubMemberRoleId() {
        return subMemberRoleId;
    }

    public void setSubMemberRoleId(Long subMemberRoleId) {
        this.subMemberRoleId = subMemberRoleId;
    }

    public String getCountTime() {
        return countTime;
    }

    public void setCountTime(String countTime) {
        this.countTime = countTime;
    }

    public Long getSkuId() {
        return skuId;
    }

    public void setSkuId(Long skuId) {
        this.skuId = skuId;
    }

    public String getSubMemberName() {
        return subMemberName;
    }

    public void setSubMemberName(String subMemberName) {
        this.subMemberName = subMemberName;
    }

    public String getCommodityName() {
        return commodityName;
    }

    public void setCommodityName(String commodityName) {
        this.commodityName = commodityName;
    }

    public String getCategory() {
        return category;
    }

    public void setCategory(String category) {
        this.category = category;
    }

    @Override
    public String toString() {
        return "MemberSalesCountOrderDetailsVO{" +
                "userId=" + userId +
                ", subMemberId=" + subMemberId +
                ", subMemberRoleId=" + subMemberRoleId +
                ", countTime=" + countTime +
                ", skuId=" + skuId +
                ", subMemberName='" + subMemberName + '\'' +
                ", commodityName='" + commodityName + '\'' +
                ", category='" + category + '\'' +
                '}';
    }
}
